package com.example.demo3network;

import java.io.File;

public class DownloadHelper {

    public static void download(String url, String localPath, OnDownloadListener listener) {

    }

    public interface OnDownloadListener {
        void onStart();
        void onSuccess(int code, File file);
        void onFail(int code, File file, String message);
        void onProgress(int progress);

    }


}
